package com.shoulei.designpattern.builderPattern;

/**
 * @ClassName:MealBuiler
 * @Descrition:
 * @Author:shoulei
 * @Date:2019/3/31 20:36
 * @Verson:
 */
public class MealBuiler {
    public Meal prepareVelBurger(){
        Meal meal = new Meal();
        meal.add(new VegBurger());
        meal.add(new Coke());
        return meal;
    }

    public Meal prepareChickenBurger(){
        Meal meal = new Meal();
        meal.add(new ChickenBurger());
        meal.add(new Pepsi());
        return meal;
    }
}
